package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.player.UserBaseInfo;
import com.yanqu.road.entity.wingroom.WingRoomVisitPatrons;

import java.util.Date;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_l_ck_wingroom_patrons_visit", desc = "厢房门客拜访日志", autoSave = true, uploadCk = true)
public class LogWingRoomPatronsVisit extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "拜访id")
    private long visitorId;

    @FieldTypeAnnotation(desc = "拜访的门客列表", saveJson = true)
    List<WingRoomVisitPatrons> patronsList;

    public LogWingRoomPatronsVisit(long userId, long visitorId, List<WingRoomVisitPatrons> patronsList) {
        this.userId = userId;
        this.visitorId = visitorId;
        this.patronsList = patronsList;
    }

    public long getUserId() {
        return userId;
    }
}
